package com.jmga.ecogasfinder.vo;

import java.io.Serializable;

import com.google.android.maps.GeoPoint;

public class SerializableGeoPoint implements Serializable {
	private int longitudeE6, latitudeE6;
	private static final long serialVersionUID = -1919923457607417149L;
	
	public SerializableGeoPoint(int longitudeE6, int latitudeE6) {
		this.longitudeE6 = longitudeE6;
		this.latitudeE6 = latitudeE6;
	}

	public int getLongitudeE6() {
		return longitudeE6;
	}

	public void setLongitudeE6(int longitudeE6) {
		this.longitudeE6 = longitudeE6;
	}

	public int getLatitudeE6() {
		return latitudeE6;
	}

	public void setLatitudeE6(int latitudeE6) {
		this.latitudeE6 = latitudeE6;
	}
	
	public GeoPoint getGeoPoint() {
		return new GeoPoint(this.longitudeE6, this.latitudeE6);
	}
}
